import Vue from 'vue'
import Router from 'vue-router'

import Index from '@/view/index/Index'

import Update from '@/view/issue/Update'
import UpdatePhone from '@/view/issue/UpdatePhone'

import RescueStatusInformation from '@/view/policy/RescueStatusInformation'
import DetailsOrder from '@/view/policy/DetailsOrder'
import BatchInformation from '@/view/policy/BatchInformation'
import ClaimInquiry from '@/view/policy/ClaimInquiry' 
import PolicyInfo from '@/view/policy/PolicyInfo'
import PolicyDetails from '@/view/policy/PolicyDetails'
import Test from '@/view/policy/Test'

import AnnualInspectionOfVehicles from '@/view/service/AnnualInspectionOfVehicles'
import VehicleInspectionInformation from '@/view/service/VehicleInspectionInformation'
import SpecialService from '@/view/service/SpecialService' 
import NonAccidentRoadRescue from '@/view/service/NonAccidentRoadRescue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Test',
      component: Test
    },
    {
      path: '/Index',
      name: 'Index',
      component: Index
    },
    {
      path: '/PolicyInfo',
      name: 'PolicyInfo',
      component: PolicyInfo
    },
    {
      path: '/PolicyDetails',
      name: 'PolicyDetails',
      component: PolicyDetails
    },
    {
      path: '/Update',
      name: 'Update',
      component: Update
    },
     {
      path: '/UpdatePhone',
      name: 'UpdatePhone',
      component: UpdatePhone
    },
    {
      path: '/NonAccidentRoadRescue',
      name: 'NonAccidentRoadRescue',
      component: NonAccidentRoadRescue
    },
    {
      path: '/AnnualInspectionOfVehicles',
      name: 'AnnualInspectionOfVehicles',
      component: AnnualInspectionOfVehicles
    },
    {
      path: '/VehicleInspectionInformation',
      name: 'VehicleInspectionInformation',
      component: VehicleInspectionInformation
    },
     {
      path: '/RescueStatusInformation',
      name: 'RescueStatusInformation',
      component: RescueStatusInformation
    },
    {
      path: '/DetailsOrder',
      name: 'DetailsOrder',
      component: DetailsOrder
    },
    {
      path: '/BatchInformation',
      name: 'BatchInformation',
      component: BatchInformation
    },
    {
      path: '/ClaimInquiry',
      name: 'ClaimInquiry',
      component: ClaimInquiry
    },
    {
      path: '/SpecialService',
      name: 'SpecialService',
      component: SpecialService
    }
  ]
})
